<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style>
.mycur { background:red;}
</style>
</head>
<body>
	<h1>测试整合 mybatis</h1>	
	<p th:text="${pageinfo}"></p>
	
	<table border=1 width=600>
		<tr>
			<td>ID</td><td>名称</td><td>地址</td><td>日期</td>
		</tr>
		<tr th:each="pro : ${pageinfo.list}">
			<td th:text="${pro.proId}">ID</td>
			<td th:text="${pro.proName}">名称</td>
			<td th:text="${pro.proLoc}">地址</td>
			<td th:text="${pro.proDate}">日期</td>
		</tr>
	</table>
	
	<div>
		<a th:href="${'bootssm?page='+n}" th:each="n : ${pageinfo.navigatepageNums}">
			<span th:class="${n == pageinfo.pageNum?'mycur':''}" th:text="${n}+' '"></span>
		</a>
	</div>
</body>
</html>